<template>
    <div>
<h2>优惠卷列表</h2>
<input type="button" value="添加" class="btn btn-primary" @click="add" />


    </div>
</template>

<script setup lang="ts">
import axios from 'axios';
import { ref, reactive, onMounted } from 'vue';
import { useRouter,useRoute } from 'vue-router';

const  router=useRouter();
const  route=useRoute();

//跳转到添加页面
const add=()=>{
router.push("/DiscountAdd")//跳转到权益添加页面
}





</script>

<style scoped>

</style>